package org.jeecg.modules.system.entity;

import lombok.Data;

import java.util.List;
@Data
public class Dept {
    private String value;
    private String label;
    private String id;

    private List<Dept> children;

    public Dept(SysDepart sysDepart) {
        this.value = sysDepart.getDepartName();
        this.label = sysDepart.getDepartName();
        this.id=sysDepart.getId();
    }
}
